<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/7/19
 * Time: 16:04
 */
namespace Publish\Controller;
use Common\Controller\HomebaseController;
class MsearchController extends HomebaseController
{
    protected $terms_model;

    function _initialize() {
        parent::_initialize();
        $this->terms_model = D("Publish/SystemTerms");
    }
    public function index(){
    	$where['parent']=array('EQ','0');
        // $where['term_id']=array('NEQ','72');
        $where['term_id']=array(array('NEQ','72'),array('NEQ','75'));
        $term_list=$this->terms_model
            ->field('name,term_id')
            ->where($where)
            ->order("listorder desc,term_id asc")
            ->select();
        // dump($term_list);
        $this->assign("terms",$term_list);
		$this->display("msearch_m");
		}
       
}